package com.project.isaacwiki.service;

import com.project.isaacwiki.dto.ItemComplete;
import com.project.isaacwiki.util.Result;
import org.springframework.web.multipart.MultipartFile;

public interface ServiceItemOpera {
    Result uploadItemImage (MultipartFile file) throws Exception;

    Result createItem (ItemComplete itemComplete) throws Exception;

    Result deleteItem(Integer id) throws Exception;

    Result updateItemImage(MultipartFile file) throws Exception;

    Result updateItem(ItemComplete itemComplete) throws Exception;

}
